package com.jia.order.entity;


import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Getter;
import lombok.Setter;

/**
 * 订单项信息(OrderItem)表实体类
 *
 * @author makejava
 * @since 2025-07-28 17:42:53
 */
@Getter
@Setter
@SuppressWarnings("serial")
public class OrderItem extends Model<OrderItem> {
    //id
    private Long id;
    //order_id
    private Long orderId;
    //order_sn
    private String orderSn;
    //spu_id
    private Long spuId;
    //spu_name
    private String spuName;
    //spu_pic
    private String spuPic;
    //品牌
    private String spuBrand;
    //商品分类id
    private Long categoryId;
    //商品sku编号
    private Long skuId;
    //商品sku名字
    private String skuName;
    //商品sku图片
    private String skuPic;
    //商品sku价格
    private Double skuPrice;
    //商品购买的数量
    private Integer skuQuantity;
    //商品销售属性组合（JSON）
    private String skuAttrsVals;
    //商品促销分解金额
    private Double promotionAmount;
    //优惠券优惠分解金额
    private Double couponAmount;
    //积分优惠分解金额
    private Double integrationAmount;
    //该商品经过优惠后的分解金额
    private Double realAmount;
    //赠送积分
    private Integer giftIntegration;
    //赠送成长值
    private Integer giftGrowth;

}

